<?php
/**
 * Created by openXtiger.org.
 * User: xtiger
 * Date: 2009-6-17
 * Time: 20:26:23
 */
function xtb_index_execute() {
    global $_UD;
    $m = xt_load('model','settingmodel');
    xt_set('historymenus',$m('historymenus',$_UD['id']));
    $cachemodel = xt_load('model','cms.cachemodel');
    $common  = $cachemodel('getCommon');
    xt_set('categorys',$common['CATEGORY']);
    xt_set('sites',$common['SITE']);
    return 'index';
}

?>